package com.learning.security.service;

import com.learning.security.controller.vo.RightSaveReqVO;
import com.learning.security.dal.dataobject.AdminRightDO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author xxx
 * @since 2024-10-04
 */
public interface AdminRightService extends IService<AdminRightDO> {

    boolean createRight(RightSaveReqVO reqVO);

    AdminRightDO getRightByPermission(String permission);
}
